]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
screenshot: Make screencast area indicator hidden from pick
authorIvan Molodetskikh <yalterz@gmail.com>
Thu, 17 Feb 2022 06:05:10 +0000 (09:05 +0300)
committerIvan Molodetskikh <yalterz@gmail.com>
Thu, 17 Feb 2022 06:05:10 +0000 (09:05 +0300)
It's a non-reactive actor on top of most of the stage. Set it as hidden
from pick so it doesn't break in-Shell DnD.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5083

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2192>

js/ui/screenshot.js

index 8ed51ef69588043082ea3b407b2bb5bef2b45cf1..adc1f8cb3501ddc4c91c9402c272a75edf4e8c62 100644 (file)
@@ -1047,6 +1047,7 @@ var ScreenshotUI = GObject.registerClass({
             GObject.BindingFlags.DEFAULT);
         // Add it directly to the stage so that it's above popup menus.
         global.stage.add_child(this._screencastAreaIndicator);
+        Shell.util_set_hidden_from_pick(this._screencastAreaIndicator, true);
 
         Main.layoutManager.screenshotUIGroup.add_child(this);